package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.domain.User;

import java.util.List;

public interface UserService {
    public void insert(User user);

    List<User> findAll();

    PageInfo<User> findByPage(Integer pageNum, Integer pageSize);
}